package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.GoodsUserCouponDAO;
import top.zywork.dos.GoodsUserCouponDO;
import top.zywork.dto.GoodsUserCouponDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.GoodsUserCouponService;

import javax.annotation.PostConstruct;

/**
 * GoodsUserCouponServiceImpl服务接口实现类<br/>
 *
 * 创建于2019-08-02<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "goodsUserCouponService")
public class GoodsUserCouponServiceImpl extends AbstractBaseService implements GoodsUserCouponService {

    private GoodsUserCouponDAO goodsUserCouponDAO;

    @Autowired
    public void setGoodsUserCouponDAO(GoodsUserCouponDAO goodsUserCouponDAO) {
        super.setBaseDAO(goodsUserCouponDAO);
        this.goodsUserCouponDAO = goodsUserCouponDAO;
    }

    @PostConstruct
    public void init() {
        super.init(GoodsUserCouponDO.class, GoodsUserCouponDTO.class);
    }
}
